package com.gsy.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Date 2022/3/5 20:18:46
 * @Author gsy
 */
@ApiModel
public class AddLeaveRequest extends BaseRequest {

    @ApiModelProperty(name = "请假人的id", value = "请假人的id", dataType = "Integer", example = "请假人的id")
    private Integer uId;

    @ApiModelProperty(name = "请假理由", value = "请假理由", dataType = "String", example = "请假理由")
    private String reason;

    @ApiModelProperty(name = "请假类型(病假或者外出)", value = "请假类型(病假或者外出)", dataType = "String", example = "请假类型")
    private String leavetype;

    @ApiModelProperty(name = "请假开始时间", value = "请假开始时间", dataType = "Date", example = "请假开始时间")
    private String starttime;

    @ApiModelProperty(name = "请假结束时间", value = "请假结束时间", dataType = "Date", example = "请假结束时间")
    private String endtime;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getLeavetype() {
        return leavetype;
    }

    public void setLeavetype(String leavetype) {
        this.leavetype = leavetype;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }
}
